﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Circle.Domain.Entity;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;

namespace Circle.Domain.Interface
{
    public interface ICircleDbContext : IDisposable, IObjectContextAdapter
    {
        DbSet<TEntity> Set<TEntity>() where TEntity : class;
        DbEntityEntry Entry(object entity);
        Database Database { get; }
        int SaveChanges();
    }
}
